projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42f6a24
)
(help-follow): Make arg optional again and really default to point.
author
Dave Love
<fx@gnu.org>
Thu, 28 Oct 1999 09:48:39 +0000
(09:48 +0000)
committer
Dave Love
<fx@gnu.org>
Thu, 28 Oct 1999 09:48:39 +0000
(09:48 +0000)
lisp/help.el
patch
|
blob
|
history
diff --git
a/lisp/help.el
b/lisp/help.el
index c9c1821c73204edcfab99c731dc4e590b0dd9e9c..40cc1dc089ade44722e0b465503fcb6916c79b35 100644
(file)
--- a/
lisp/help.el
+++ b/
lisp/help.el
@@
-1165,11
+1165,13
@@
help buffer."
(interactive)
(help-follow (1- (point-max))))
-(defun help-follow (pos)
+(defun help-follow (
&optional
pos)
"Follow cross-reference at POS, defaulting to point.
For the cross-reference format, see `help-make-xrefs'."
(interactive "d")
+ (unless pos
+ (setq pos (point)))
(let* ((help-data
(or (and (not (= pos (point-max)))
(get-text-property pos 'help-xref))